def count():
    fs = []
    fd = []
    for i in range(1, 4):
        def f():
             fd.append(i*i)
             print(fd)
             return i*i
        fs.append(f)
    return fs

f1, f2, f3,f4 = count()
#print(f1())
#print(f2())
#print(f3())
f1()
f1()
f1()
